package org.raymond.iworks.study.basic.designpattern.prototype;

/**
 * @author raymond
 * @version V1.0
 * @Description: TODO
 */
public class Client {
    public static void main(String[] args) {
        Sheep sheep1 = new Sheep("tom", 1, "white");
        Sheep sheep2 = new Sheep(sheep1.getName(), sheep1.getAge(), sheep1.getColor());
        // 克隆羊 ...

        System.out.println(sheep1);
        System.out.println(sheep2);
    }
}
